package com.xy.modular.basics.service.impl;

import com.xy.framework.base.dao.IBaseDao;
import com.xy.framework.base.service.BaseServiceImpl;
import com.xy.framework.exceptions.ValidateParamException;
import com.xy.modular.basics.dao.CommunityMapper;
import com.xy.modular.basics.entity.Community;
import com.xy.modular.basics.service.ICommunityService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("communityService")
public class CommunityServiceImpl extends BaseServiceImpl<Community, String> implements ICommunityService {

	@Resource
	private CommunityMapper communityMapper;

	@SuppressWarnings("rawtypes")
	@Override
	protected IBaseDao getBaseDao() {
		return this.communityMapper;
	}

	@Override
	public void validateEntity(Community e) throws ValidateParamException {
		// TODO Auto-generated method stub
		
	}
}
